package cn.com.cifi.mars.service;

import cn.com.cifi.mars.bean.bo.MdmBuildAreaBO;
import cn.com.cifi.mars.bean.dto.GxcLdytDto;
import cn.com.cifi.mars.entity.MdmBuildArea;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * <p>
 * （主数据）楼栋业态面积表 服务类
 * </p>
 *
 * @author yyd
 * @since 2019-09-24
 */
public interface BuildAreaService extends IService<MdmBuildArea> {

    MdmBuildAreaBO selectNewestByFid(String projectFid, String versionType, int isDel);

    MdmBuildAreaBO selectNewestByFidAndVersionType(String projectFid, String versionType, int isDel);

    void addDataBuildArea(List<GxcLdytDto> list, LocalDateTime now,String timestamp_id);

    Map<String, String> saveArea(String buildFormatAreaInfo, Map<String, String> stageMapIds, LocalDateTime now);

    void inserBatch(List<MdmBuildArea> gxcLdytDtolIST);

    MdmBuildAreaBO selectAppoint(String projectfId, String sourceAreaVersionStage, String sourceAreaVersionNum, LocalDateTime sourceAreaSysCreatedTime, String sourceGroupVersionStage, String sourceGroupVersionCode, LocalDateTime sourceGroupCreateTime);
}
